//package com.example.usage.aop.transaction.settingfile;
//
//import com.example.usage.aop.transaction.User;
//import com.example.usage.aop.transaction.UserDao;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
//@Service
//public class UserService {
//    @Autowired
//    private UserDao userDao;
//
//    public List<User> getUsers(){
//        return userDao.getUsers();
//    }
//
//    public void transMoney(){
//        userDao.addMoney();
//        int i = 1/0;
//        userDao.reduceMoney();
//    }
//}
